<h1><%= @item.name %> Mineralienverbrauch:</h1>
<table>
    <tr>
    <th>Erzart</th>
    <th>Menge</th>
    <th>Kosten</th>
    </tr>

    <%= render :partial => "material_sum", :locals => { :material_sum => @mins } %>    

    <td colspan = 2><b>Total: </b></td><td><b><%= number_to_isk @mins.total %></b></td>
</br></br></br>

    <% @me.each do |me| %>
        <tr>
        <td><%= me[:me] %></td>
        <td><%= me[:cost] %></td>
        <td><%= me[:improvement] %></td>
    
    
    </tr>
    <% end %>

</table>